<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function Fn(){
            console.log('123123');
        }
        // 函数
        Fn();
        new Fn()
        // 函数当做对象来用，函数对象
        Fn.a = 123;
        console.log(Fn.a);
    </script>
</body>
</html>